package com.xmy.cultivate.service;

import com.xmy.cultivate.entity.CisPosition;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xmy.cultivate.entity.CisPositionDetail;

import java.util.List;

/**
 * <p>
 * 排班顺位表 服务类
 * </p>
 *
 * @author hpiggy
 * @since 2024-08-16
 */
public interface ICisPositionService extends IService<CisPosition> {

    public abstract long getIsSaveYesOrNo(CisPosition cisPosition, CisPositionDetail cisPositionDetail);
    public abstract long getIsEditYesOrNo(CisPosition cisPosition, CisPositionDetail cisPositionDetail);


    List<CisPosition> getPositionList(Integer yearPart,
                                      Integer quarterNum,
                                      Long schoolId,
                                      Long subjectsId,
                                      Integer yearClassId,
                                      Long classTypeId,
                                      Long teacherId,
                                      Integer isFull,
                                      Integer limitNum);

    List<Long> getPositionGradeIdList(Integer yearPart,
                                      Integer quarterNum,
                                      Long schoolId,
                                      Long subjectsId,
                                      Integer yearClassId,
                                      Long classTypeId,
                                      Long teacherId,
                                      Integer limitNum);

    List<CisPosition> getPositionDataList(Integer yearPart,
                                          Integer quarterNum,
                                          Long schoolId,
                                          Long subjectsId,
                                          Integer yearClassId,
                                          Long classTypeId);
}
